package com.jiangchao.xmldb.entity;

import java.util.Date;

import com.jiangchao.xmldb.annotation.Column;
import com.jiangchao.xmldb.annotation.Index;
import com.jiangchao.xmldb.annotation.Table;

@Table("person")
public class Person {
	@Column(name = "_uuid")
	@Index
	private String _uuid;
	
	@Column(name = "name")
	private String name;
	
	@Column(name = "birthday")
	private Date birthday;
	
	@Column(name = "sex")
	private Boolean sex;
	
	@Column(name = "luck_number")
	private int[] luckNumber;

	public String get_uuid() {
		return _uuid;
	}

	public void set_uuid(String _uuid) {
		this._uuid = _uuid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Boolean getSex() {
		return sex;
	}

	public void setSex(Boolean sex) {
		this.sex = sex;
	}

	public int[] getLuckNumber() {
		return luckNumber;
	}

	public void setLuckNumber(int[] luckNumber) {
		this.luckNumber = luckNumber;
	}

}
